package com.songlanyun.modules.areafeature.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.areafeature.entity.GoodsAreaFeatureEntity;
import com.songlanyun.modules.areafeature.model.GoodsAreaFeatureDTO;
import com.songlanyun.modules.areafeature.model.GoodsAreaFeatureSlimVo;

import java.util.List;
import java.util.Map;

/**
 * 商品特征分区
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-23 10:23:51
 */
public interface GoodsAreaFeatureService extends IBaseService<Long,GoodsAreaFeatureEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void add(GoodsAreaFeatureDTO dto);

    void updateOrderIndex(GoodsAreaFeatureDTO dto);

    List<GoodsAreaFeatureSlimVo> queryList(Map<String, Object> params);

    PageUtils welfarePage(Map<String, Object> params);

    GoodsAreaFeatureEntity loadByGoodsId(Long goodsId);
}

